package com.yimi.policyservice.service;

/**
 * 短信验证码
 * @author jack
 */
public interface SmsCodeService {

    /**
     * 发送短信验证码
     * @param phone
     */
     void send(String phone,int tempId);

    /**
     * 校验短信验证码
     * @param phone
     * @param code
     * @return
     */
     boolean verfiy(String phone,String code);

     String code(String phone);

    void send4BindPhone(String phone);
}
